﻿Public Class KhachHangDTO
    Private _maKH As String
    Private _manha As String
    Private _tenKH As String
    Private _diachiKH As String
    Private _sodtKH As String
    Private _thoigianthue As Integer
    Private _ngaythue As Date
    Private _tienthue As Integer

    Public Property MaKH() As String
        Get
            Return _maKH
        End Get
        Set(ByVal value As String)
            _maKH = value

        End Set
    End Property

    Public Property MaLoaiNha() As String
        Get
            Return _manha
        End Get
        Set(ByVal value As String)
            _manha = value

        End Set
    End Property

    Public Property TenKH() As String
        Get
            Return _tenKH
        End Get
        Set(ByVal value As String)
            _tenKH = value

        End Set
    End Property

    Public Property DiaChiKH() As String
        Get
            Return _diachiKH
        End Get
        Set(ByVal value As String)
            _diachiKH = value

        End Set
    End Property
  
    Public Property SoDTKH() As String
        Get
            Return _sodtKH
        End Get
        Set(ByVal value As String)
            _sodtKH = value

        End Set
    End Property

    Public Property ThoiGianThue() As Integer
        Get
            Return _thoigianthue
        End Get
        Set(ByVal value As Integer)
            _thoigianthue = value

        End Set
    End Property

    Public Property NgayBatDauThue() As Date
        Get
            Return _ngaythue
        End Get
        Set(ByVal value As Date)
            _ngaythue = value

        End Set
    End Property

    Public Property TienThue() As Integer
        Get
            Return _tienthue
        End Get
        Set(ByVal value As Integer)
            _tienthue = value

        End Set
    End Property
  
    Public Sub New(ByVal mKH As String, ByVal mln As String, ByVal tKH As String, ByVal dcKH As String, ByVal sdt As String, ByVal tgthue As String, ByVal ngaybatdau As Date, ByVal tthue As String)
        Me._maKH = mKH
        Me._manha = mln
        Me._tenKH = tKH
        Me._diachiKH = dcKH
        Me._sodtKH = sdt
        Me._thoigianthue = tgthue
        Me._ngaythue = ngaybatdau
        Me._tienthue = tthue
    End Sub

    Public Sub New(ByVal MaKH As String)
        Me._maKH = MaKH
    End Sub
End Class

